package com.cloud.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 商品sku
 */
@Data
@TableName(value = "t_sku")
public class Sku {
    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * spu_id
     */
    @TableField(value = "spu_id")
    private Integer spuId;

    /**
     * 价格，分
     */
    @TableField(value = "sku_price")
    private Integer skuPrice;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private Long createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 修改人
     */
    @TableField(value = "modified_by")
    private Long modifiedBy;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

}